package com.applet.setmeal.mapper;

import com.applet.entity.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 套餐管理 mapper
 */
@Mapper
public interface SetMealMapper {


    /**
     * 根据分类id 查询所有起售的套餐
     */
    List<Setmeal> selectSetMealListByCategoryId(@Param("categoryId") Long categoryId);


    /**
     * 根据id 查询套餐
     */
    Setmeal selectSetMealById(Long aLong);
}
